#  djano
from django.shortcuts import render
#  rest_framework
from rest_framework import viewsets
#  models
from user.models import UserInfo, UserToken
#  serializers
from user.serializers import UserInfoSerializer, UserTokenSerializer


# Create your views here.
class UserInfoViewSet(viewsets.ModelViewSet):
    queryset = UserInfo.objects.all()
    serializer_class = UserInfoSerializer

class UserTokenViewSet(viewsets.ModelViewSet):
    queryset = UserToken.objects.all()
    serializer_class = UserTokenSerializer
